package com.pencilisland.pay.api.bean.mp.app;

import java.io.Serializable;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;


/**
 * 微信支付统一下单.服务端响应
 * 
 * messageId[wxPayUnifyOrder] 
 *
 * @author breeze
 * 
 */
@JsonInclude(Include.NON_NULL)
public class WxPayUnifyOrderRES extends MessageResponse implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private String appId;
	private String partnerId;
	private String nonceStr;
	private String signType;
	private String sign;
	private String packageStr;
	private String timeStamp;
	private String prepayId;
	private String qrcodeUrl;
	private String codeUrl;
	private String orderNo;

	public WxPayUnifyOrderRES(){
		super();
	}

	public WxPayUnifyOrderRES(Boolean success_,Integer errorCode_, String message_) {
		super(success_,errorCode_,message_);
	}


	/**
	 * @return 应用ID
	 */
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	/**
	 * @return 商户号
	 */
	public String getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}

	/**
	 * @return 随机字符串
	 */
	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	/**
	 * @return 签名算法，暂支持 MD5
	 */
	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	/**
	 * @return 签名
	 */
	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	/**
	 * @return 扩展字段
	 */
	public String getPackageStr() {
		return packageStr;
	}

	public void setPackageStr(String packageStr) {
		this.packageStr = packageStr;
	}

	/**
	 * @return 时间戳
	 */
	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	/**
	 * @return 预支付交易会话标识
	 */
	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	/**
	 * @return 二维码地址
	 */
	public String getQrcodeUrl() {
		return qrcodeUrl;
	}

	public void setQrcodeUrl(String qrcodeUrl) {
		this.qrcodeUrl = qrcodeUrl;
	}

	/**
	 * @return 换取二维码地址
	 */
	public String getCodeUrl() {
		return codeUrl;
	}

	public void setCodeUrl(String codeUrl) {
		this.codeUrl = codeUrl;
	}

	/**
	 * @return 系统订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	/**
	*设置挡板数据
	*/
	public void baffle(){
		this.appId = "";
		this.partnerId = "";
		this.nonceStr = "";
		this.signType = "";
		this.sign = "";
		this.packageStr = "";
		this.timeStamp = "";
		this.prepayId = "";
		this.qrcodeUrl = "";
		this.codeUrl = "";
		this.orderNo = "";
	}

}